package com.example.xymarket.adapter.holder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.RecyclerView;

import com.example.xymarket.R;

public class MessengerViewHolder extends RecyclerView.ViewHolder {
   public ImageView imageView;
   public TextView textView;
   public ConstraintLayout constraintLayout;
    public MessengerViewHolder(@NonNull View itemView) {
        super(itemView);
        imageView=(ImageView) itemView.findViewById(R.id.messenger_avatar);
        textView=(TextView) itemView.findViewById(R.id.messenger_name);
        constraintLayout=(ConstraintLayout)itemView.findViewById(R.id.messenger_Layout);
    }
}
